package com.ihisomp.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * 标题: SysCityDto.java
 * 业务描述: 省市县DTO
 * 作者: zy
 * 日期: 2022/1/12
 * 版本: V1.0
 */
@ApiModel(value = "省市县数据类")
public class SysCityDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 省地市主键
     */
    @ApiModelProperty(value = "省地市主键")
    private String cityKey;

    /**
     * 行政编码
     */
    @ApiModelProperty(value = "行政编码")
    private String cityCode;

    /**
     * 省地市名称
     */
    @ApiModelProperty(value = "省地市名称")
    private String cityName;

    /**
     * 级别:1，省；2，市；3，县
     */
    @ApiModelProperty(value = "级别")
    private Integer cityLevel;

    /**
     * 拼音
     */
    @ApiModelProperty(value = "拼音")
    private String py;

    /**
     * 英文名称
     */
    @ApiModelProperty(value = "英文")
    private String cityNameEn;

    public String getCityKey() {
        return cityKey;
    }

    public void setCityKey(String cityKey) {
        this.cityKey = cityKey;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getCityLevel() {
        return cityLevel;
    }

    public void setCityLevel(Integer cityLevel) {
        this.cityLevel = cityLevel;
    }

    public String getPy() {
        return py;
    }

    public void setPy(String py) {
        this.py = py;
    }

    public String getCityNameEn() {
        return cityNameEn;
    }

    public void setCityNameEn(String cityNameEn) {
        this.cityNameEn = cityNameEn;
    }

    @Override
    public String toString() {
        return "SysCityDto{" +
                "cityKey='" + cityKey + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", cityName='" + cityName + '\'' +
                ", cityLevel=" + cityLevel +
                ", py='" + py + '\'' +
                ", cityNameEn='" + cityNameEn + '\'' +
                '}';
    }
}
